package com.sxy.demo.sxy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;


@Data
@TableName("ri_a_admin_user")
public class SysUser extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long userId;

    private String username;

    private String nickname;

    private String mobile;

    private String avatar;

    private String email;

    private Integer status;

    private Long deptId;

    @TableField(exist = false)
    private String deptName;

    @TableField(exist = false)
    private List<String> clientIds;

    @TableField(exist = false)
    private String roleNames;

    @TableField(exist = false)
    private List<String> roles;


}
